﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace server.Communication.Messages
{
    [Serializable]
    public class ConnectResult : Message
    {
        /*
         * return true if successed to connect
         */
        public bool succ { get; set; }

        public ConnectResult(bool res)
        {
            this.succ = res;
        }

        public override string GetType()
        {
            return "ConnectResult";
        }
    }
}
